

Project 'VGG16_1FC.Exp06.BonB.10p.unmasked.fold_4':
[1] "Model type 'VGG16_1FC' sucessfully initialized:"
$model
Model
Model: "sequential"
____________________________________________________________________________________________________________________________________________________________________
Layer (type)                                                             Output Shape                                                      Param #                  
====================================================================================================================================================================
vgg16 (Model)                                                            (None, 7, 7, 512)                                                 14714688                 
____________________________________________________________________________________________________________________________________________________________________
flatten (Flatten)                                                        (None, 25088)                                                     0                        
____________________________________________________________________________________________________________________________________________________________________
fc1 (Dense)                                                              (None, 256)                                                       6422784                  
____________________________________________________________________________________________________________________________________________________________________
Predictions (Dense)                                                      (None, 10)                                                        2570                     
====================================================================================================================================================================
Total params: 21,140,042
Trainable params: 6,425,354
Non-trainable params: 14,714,688
____________________________________________________________________________________________________________________________________________________________________



$classes
                                     name id
1                Asteromphalus.labId_6835  0
2                  Chaetoceros.labId_6813  1
3  Fragilariopsis kerguelensis.labId_8356  2
4      Fragilariopsis rhombica.labId_8362  3
5                    Nitzschia.labId_6758  4
6              Pseudonitzschia.labId_8364  5
7                 Rhizosolenia.labId_6776  6
8            Silicoflagellate.labId_10255  7
9      Thalassiosira gracilis.labId_10366  8
10  Thalassiosira lentiginosa.labId_10369  9

$inputShape
[1] 224 224

$optimizer
<tensorflow.python.keras.optimizers.Adam>

$callbacksList
list()

Data:
Classes: 10

Training: 109 samples:
   ClassId                              ClassName Count Count.ANT31 Count.PS103
2        0               Asteromphalus.labId_6835     9           0           9
5        1                 Chaetoceros.labId_6813    20           0          20
6        2 Fragilariopsis kerguelensis.labId_8356    14           0          14
7        3     Fragilariopsis rhombica.labId_8362    12           0          12
9        4                   Nitzschia.labId_6758     2           0           2
3        5             Pseudonitzschia.labId_8364    20           0          20
1        6                Rhizosolenia.labId_6776     4           0           4
10       7           Silicoflagellate.labId_10255     9           0           9
4        8     Thalassiosira gracilis.labId_10366     7           0           7
8        9  Thalassiosira lentiginosa.labId_10369    12           0          12
11      NA                                    Sum   109           0         109

Validation: 34 samples:
   ClassId                              ClassName Count Count.ANT31 Count.PS103
1        0               Asteromphalus.labId_6835     3           0           3
2        1                 Chaetoceros.labId_6813     6           0           6
3        2 Fragilariopsis kerguelensis.labId_8356     4           0           4
5        3     Fragilariopsis rhombica.labId_8362     4           0           4
7        4                   Nitzschia.labId_6758     1           0           1
4        5             Pseudonitzschia.labId_8364     6           0           6
9        6                Rhizosolenia.labId_6776     1           0           1
6        7           Silicoflagellate.labId_10255     3           0           3
10       8     Thalassiosira gracilis.labId_10366     2           0           2
8        9  Thalassiosira lentiginosa.labId_10369     4           0           4
11      NA                                    Sum    34           0          34

Test: 50 samples:
   ClassId                              ClassName Count Count.ANT31 Count.PS103
10       0               Asteromphalus.labId_6835     4           0           4
4        1                 Chaetoceros.labId_6813     9           0           9
1        2 Fragilariopsis kerguelensis.labId_8356     6           0           6
5        3     Fragilariopsis rhombica.labId_8362     6           0           6
7        4                   Nitzschia.labId_6758     1           0           1
9        5             Pseudonitzschia.labId_8364     9           0           9
8        6                Rhizosolenia.labId_6776     2           0           2
3        7           Silicoflagellate.labId_10255     4           0           4
2        8     Thalassiosira gracilis.labId_10366     3           0           3
6        9  Thalassiosira lentiginosa.labId_10369     6           0           6
11      NA                                    Sum    50           0          50

Compiling Model:

Starting Training:
Epochs: 50
Batch size: 8


Evaluating trained model for project 'VGG16_1FC.Exp06.BonB.10p.unmasked.fold_4':


Model evaluation:
$confusionMatrix
Confusion Matrix and Statistics

          Reference
Prediction 0 1 2 3 4 5 6 7 8 9
         0 4 0 0 0 0 0 0 0 0 0
         1 0 9 0 0 0 1 0 0 0 0
         2 0 0 6 0 0 0 0 0 0 0
         3 0 0 0 6 0 0 0 0 0 0
         4 0 0 0 0 1 0 0 0 0 0
         5 0 0 0 0 0 8 0 0 0 0
         6 0 0 0 0 0 0 2 0 0 0
         7 0 0 0 0 0 0 0 4 0 0
         8 0 0 0 0 0 0 0 0 3 0
         9 0 0 0 0 0 0 0 0 0 6

Overall Statistics
                                          
               Accuracy : 0.98            
                 95% CI : (0.8935, 0.9995)
    No Information Rate : 0.18            
    P-Value [Acc > NIR] : < 2.2e-16       
                                          
                  Kappa : 0.9771          
                                          
 Mcnemar's Test P-Value : NA              

Statistics by Class:

                     Class: 0 Class: 1 Class: 2 Class: 3 Class: 4 Class: 5 Class: 6 Class: 7 Class: 8 Class: 9
Precision                1.00   0.9000     1.00     1.00     1.00   1.0000     1.00     1.00     1.00     1.00
Recall                   1.00   1.0000     1.00     1.00     1.00   0.8889     1.00     1.00     1.00     1.00
F1                       1.00   0.9474     1.00     1.00     1.00   0.9412     1.00     1.00     1.00     1.00
Prevalence               0.08   0.1800     0.12     0.12     0.02   0.1800     0.04     0.08     0.06     0.12
Detection Rate           0.08   0.1800     0.12     0.12     0.02   0.1600     0.04     0.08     0.06     0.12
Detection Prevalence     0.08   0.2000     0.12     0.12     0.02   0.1600     0.04     0.08     0.06     0.12
Balanced Accuracy        1.00   0.9878     1.00     1.00     1.00   0.9444     1.00     1.00     1.00     1.00

$statistics
   class                              className TP FP FN precision    recall        F1
1      0               Asteromphalus.labId_6835  4  0  0       1.0 1.0000000 1.0000000
2      1                 Chaetoceros.labId_6813  9  1  0       0.9 1.0000000 0.9473684
3      2 Fragilariopsis kerguelensis.labId_8356  6  0  0       1.0 1.0000000 1.0000000
4      3     Fragilariopsis rhombica.labId_8362  6  0  0       1.0 1.0000000 1.0000000
5      4                   Nitzschia.labId_6758  1  0  0       1.0 1.0000000 1.0000000
6      5             Pseudonitzschia.labId_8364  8  0  1       1.0 0.8888889 0.9411765
7      6                Rhizosolenia.labId_6776  2  0  0       1.0 1.0000000 1.0000000
8      7           Silicoflagellate.labId_10255  4  0  0       1.0 1.0000000 1.0000000
9      8     Thalassiosira gracilis.labId_10366  3  0  0       1.0 1.0000000 1.0000000
10     9  Thalassiosira lentiginosa.labId_10369  6  0  0       1.0 1.0000000 1.0000000

$macro
$macro$precision
[1] 0.99

$macro$recall
[1] 0.9888889

$macro$F1
[1] 0.9888545

$macro$F1.Sokolova_Lapalme
[1] 0.9894441


$micro
$micro$precision
[1] 0.98

$micro$recall
[1] 0.98

$micro$F1
[1] 0.98


